-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Belief propagation order flexibility #111
Conversation
…ing BP updates. Updated BP gauging example to reflect change
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #111 +/- ##
==========================================
- Coverage 78.93% 78.67% -0.27%
==========================================
Files 65 66 +1
Lines 3713 3766 +53
==========================================
+ Hits 2931 2963 +32
- Misses 782 803 +21 ☔ View full report in Codecov by Sentry. |
…s.jl into BP_Update_Order
…ing in NamedGraphs.hexagonal_lattice_graph
…f parallel vs sequential via edge kwarg. Further examples in BPSequences
Okay I have added commits to this to take advantage of the PR: ITensor/NamedGraphs.jl#39 in |
If they don't take too long to run, I think we should run |
There does seem to be an issue that this test suite takes a long time to run... |
Yeah it doesn't too long so I will add it. Is there a reason for there being a separate I also agree that we do have a lot of tests in the package and these can take a long time to run! We may have to think about streamlining tests a bit/ removing some which we consider less important from the |
Hmm I guess |
Co-authored-by: Matt Fishman <[email protected]>
Co-authored-by: Matt Fishman <[email protected]>
Co-authored-by: Matt Fishman <[email protected]>
8cd2d11
to
18321b6
Compare
This PR adds the ability to do iterate the belief propagation self-consistent equations in parallel or in sequence. It also adds a keyword argument for iterating over only a subset of edges instead of all edges of the network.
Tests are updated to reflect this.
The BP gauging example in
examples/gauging/gauging_itns.jl
now also benchmarks for parallel and sequential updates.